package com.prs.crm.service.stock;

import java.util.List;

import com.prs.crm.domain.store.StorePlace;
import com.prs.crm.domain.store.StoreRoom;
import com.prs.crm.service.BaseService;

/**
 * 库房Service
 * @author prs.chenzhi
 *
 */
public interface StoreRoomService extends BaseService<StoreRoom>{

	
	/**
	 * 保存库房
	 * @param room
	 * @param managerstr 以,号分隔的管理人员id
	 */
	void save(StoreRoom room,String managerstr);
	
	/**
	 * 保存库位
	 * @param room
	 * @param place
	 */
	void saveStorePlace(StoreRoom room,StorePlace place);
	
	/**
	 * 删除库房库位
	 * @param room
	 * @param place
	 */
	void removeStorePlace(StoreRoom room,StorePlace place);
	
	List<StoreRoom> getAllstoreroom();
	
	void saveOrStoreRoom(StoreRoom room);
	
	StoreRoom  getRoomBycode(String code);
}
